<?php
/**
 * Created by PhpStorm.
 * User: Qiangguo
 * Date: 14-9-9
 * Time: 下午11:17
 */

namespace Home\Model;
use Think\Model;
class ActivityModel extends Model {
    //定义不同表名
    protected $fields = array('aid', 'pid', 'atime', 'atheme','astunumber','anews','aexperience','atype','astatus','backup',
        '_type'=>array('aid'=>'int','pid'=>'varchar','atime'=>'datetime','atheme'=>'varchar','astunumber'=>'int','anews'=>'varchar','aexperience'=>'varchar','atype'=>'varchar','astatus'=>'int','backup'=>'varchar')
    );
}